/*
 * emac.h
 *
 *  Created on: Apr 28, 2022
 *      Author: gewenbin
 */

#ifndef SYLIXOS_DRIVER_NETIF_EMAC_H_
#define SYLIXOS_DRIVER_NETIF_EMAC_H_

int emacInit(struct netdev *pnetdev);
int emacTransmit(struct netdev *pnetdev, struct pbuf *pbuf);
void emacReceive(struct netdev *pnetdev, int (*input)(struct netdev *, struct pbuf *));

#endif /* SYLIXOS_DRIVER_NETIF_EMAC_H_ */
